package net.jsoft.platform.core.vo.resp;

import net.jsoft.platform.core.vo.BaseVO;

public class ResponseVO extends BaseVO
{

    /**
     * 
     */
    private static final long serialVersionUID = -3628672459383184564L;

    public static final String SUCCESS = "1";

    public static final String FAIL = "0";

    private String flag;

    private String message;

    private Object returnObj;

    public ResponseVO()
    {
        super();
    }

    public ResponseVO(String flag)
    {
        super();
        this.flag = flag;
    }

    public ResponseVO(String flag, String message)
    {
        super();
        this.flag = flag;
        this.message = message;
    }

    public ResponseVO(String flag, String message, Object returnObj)
    {
        super();
        this.flag = flag;
        this.message = message;
        this.returnObj = returnObj;
    }

    public String getFlag()
    {
        return flag;
    }

    public void setFlag(String flag)
    {
        this.flag = flag;
    }

    public String getMessage()
    {
        return message;
    }

    public void setMessage(String message)
    {
        this.message = message;
    }

    public Object getReturnObj()
    {
        return returnObj;
    }

    public void setReturnObj(Object returnObj)
    {
        this.returnObj = returnObj;
    }

}
